import { api } from "@/lib/request";

// 验证码API
export const captchaAPI = {
  // 生成验证码
  generate: (type: string = "digit") => {
    return api.post("/captcha/generate", { type });
  },

};
export interface CaptchaGenerateResponse {
  captchaId: string;
  captchaImage: string;
}
